
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>嵌入的 Elixir(EEx) · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="ets.html" />
    
    
    <link rel="prev" href="plug.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">第一部分：基础</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../basics/basics.html">
            
                <a href="../basics/basics.html">
            
                    
                    基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../basics/collections.html">
            
                <a href="../basics/collections.html">
            
                    
                    集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../basics/enum.html">
            
                <a href="../basics/enum.html">
            
                    
                    Enum 模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../basics/pattern-matching.html">
            
                <a href="../basics/pattern-matching.html">
            
                    
                    模式匹配
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../basics/control-structures.html">
            
                <a href="../basics/control-structures.html">
            
                    
                    控制语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../basics/functions.html">
            
                <a href="../basics/functions.html">
            
                    
                    函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../basics/pipe-operator.html">
            
                <a href="../basics/pipe-operator.html">
            
                    
                    管道操作符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../basics/modules.html">
            
                <a href="../basics/modules.html">
            
                    
                    模块(Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../basics/mix.html">
            
                <a href="../basics/mix.html">
            
                    
                    Mix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../basics/sigils.html">
            
                <a href="../basics/sigils.html">
            
                    
                    魔符(Sigil)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../basics/documentation.html">
            
                <a href="../basics/documentation.html">
            
                    
                    文档模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../basics/testing.html">
            
                <a href="../basics/testing.html">
            
                    
                    测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../basics/comprehensions.html">
            
                <a href="../basics/comprehensions.html">
            
                    
                    推导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../basics/strings.html">
            
                <a href="../basics/strings.html">
            
                    
                    字符串
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../basics/date-time.html">
            
                <a href="../basics/date-time.html">
            
                    
                    日期和时间
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../basics/mix-tasks.html">
            
                <a href="../basics/mix-tasks.html">
            
                    
                    自定义Mix任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="../basics/iex-helpers.html">
            
                <a href="../basics/iex-helpers.html">
            
                    
                    IEx辅助函数
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">第二部分：高级</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../advanced/erlang.html">
            
                <a href="../advanced/erlang.html">
            
                    
                    和Erlang互操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../advanced/error-handling.html">
            
                <a href="../advanced/error-handling.html">
            
                    
                    错误处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../advanced/escripts.html">
            
                <a href="../advanced/escripts.html">
            
                    
                    可执行文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../advanced/concurrency.html">
            
                <a href="../advanced/concurrency.html">
            
                    
                    并发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../advanced/otp-concurrency.html">
            
                <a href="../advanced/otp-concurrency.html">
            
                    
                    OTP并发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../advanced/otp-supervisors.html">
            
                <a href="../advanced/otp-supervisors.html">
            
                    
                    OTP Supervisors
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="../advanced/otp-distribution.html">
            
                <a href="../advanced/otp-distribution.html">
            
                    
                    OTP 分布式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../advanced/metaprogramming.html">
            
                <a href="../advanced/metaprogramming.html">
            
                    
                    元编程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="../advanced/umbrella-projects.html">
            
                <a href="../advanced/umbrella-projects.html">
            
                    
                    Umbrella Projects
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="../advanced/typespec.html">
            
                <a href="../advanced/typespec.html">
            
                    
                    Specifications and types
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="../advanced/behaviours.html">
            
                <a href="../advanced/behaviours.html">
            
                    
                    行为
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="../advanced/gen-stage.html">
            
                <a href="../advanced/gen-stage.html">
            
                    
                    GenStage
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.13" data-path="../advanced/protocols.html">
            
                <a href="../advanced/protocols.html">
            
                    
                    协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.14" data-path="../advanced/nerves.html">
            
                <a href="../advanced/nerves.html">
            
                    
                    Nerves
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">第三部分：ECTO</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../ecto/basics.html">
            
                <a href="../ecto/basics.html">
            
                    
                    Basics
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../ecto/changesets.html">
            
                <a href="../ecto/changesets.html">
            
                    
                    Changesets
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../ecto/associations.html">
            
                <a href="../ecto/associations.html">
            
                    
                    关联关系
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="../ecto/querying.html">
            
                <a href="../ecto/querying.html">
            
                    
                    查询
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">第四部分：专题</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="plug.html">
            
                <a href="plug.html">
            
                    
                    Plug
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="4.2" data-path="eex.html">
            
                <a href="eex.html">
            
                    
                    嵌入的 Elixir(EEx)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="ets.html">
            
                <a href="ets.html">
            
                    
                    Erlang 项式存储(ETS)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="mnesia.html">
            
                <a href="mnesia.html">
            
                    
                    Mnesia 数据库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="debugging.html">
            
                <a href="debugging.html">
            
                    
                    调试
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">第五部分：程序库</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../libraries/guardian.html">
            
                <a href="../libraries/guardian.html">
            
                    
                    Guardian(基础)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../libraries/poolboy.html">
            
                <a href="../libraries/poolboy.html">
            
                    
                    Poolboy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="../libraries/benchee.html">
            
                <a href="../libraries/benchee.html">
            
                    
                    Benchee
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="../libraries/bypass.html">
            
                <a href="../libraries/bypass.html">
            
                    
                    Bypass
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="../libraries/distillery.html">
            
                <a href="../libraries/distillery.html">
            
                    
                    Distillery(基础)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="../libraries/stream-data.html">
            
                <a href="../libraries/stream-data.html">
            
                    
                    StreamData
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >嵌入的 Elixir(EEx)</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <p>&#x6B63;&#x5982; Ruby &#x6709; ERB&#xFF0C;Java &#x6709; JSPs, Elixir &#x4E5F;&#x6709; EEx, &#x6216;&#x8005; &#x5D4C;&#x5165;&#x7684; Elixir&#x3002;&#x901A;&#x8FC7; EEx&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x5728;&#x5B57;&#x7B26;&#x4E32;&#x91CC;&#x9762;&#x5D4C;&#x5165; Elixir &#x8868;&#x8FBE;&#x5F0F;&#x5E76;&#x6C42;&#x503C;&#x3002;</p>
<h2 id="api">API</h2>
<p>EEx &#x7684; API &#x652F;&#x6301;&#x76F4;&#x63A5;&#x64CD;&#x4F5C;&#x5B57;&#x7B26;&#x4E32;&#x548C;&#x6587;&#x4EF6;&#x3002;API &#x5206;&#x4E3A;&#x4E09;&#x4E2A;&#x4E3B;&#x8981;&#x90E8;&#x5206;&#xFF1A;&#x7B80;&#x5355;&#x6C42;&#x503C;&#xFF0C;&#x51FD;&#x6570;&#x5B9A;&#x4E49;&#xFF0C;&#x548C;&#x7F16;&#x8BD1;&#x4E3A; AST &#x8BED;&#x6CD5;&#x6811;&#x3002;</p>
<h3 id="&#x6C42;&#x503C;&#xFF08;evaluation&#xFF09;">&#x6C42;&#x503C;&#xFF08;Evaluation&#xFF09;</h3>
<p>&#x901A;&#x8FC7; <code>eval_string/3</code> &#x548C; <code>eval_file/2</code>&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x5BF9;&#x4E00;&#x4E2A;&#x5B57;&#x7B26;&#x4E32;&#x548C;&#x6587;&#x4EF6;&#x5185;&#x5BB9;&#x8FDB;&#x884C;&#x7B80;&#x5355;&#x6C42;&#x503C;&#x8BA1;&#x7B97;&#x3002;&#x8FD9;&#x662F;&#x6700;&#x7B80;&#x5355;&#x7684; API &#x4F46;&#x4E5F;&#x662F;&#x6700;&#x6162;&#x7684;&#xFF0C;&#x56E0;&#x4E3A;&#x4EE3;&#x7801;&#x53EA;&#x662F;&#x8FD0;&#x7B97;&#x6C42;&#x503C;&#xFF0C;&#x800C;&#x6CA1;&#x6709;&#x7F16;&#x8BD1;&#x3002;  </p>
<pre><code class="lang-elixir">iex&gt; EEx.eval_string <span class="hljs-string">&quot;Hi, &lt;%= name %&gt;&quot;</span>, [<span class="hljs-symbol">name:</span> <span class="hljs-string">&quot;Sean&quot;</span>]
<span class="hljs-string">&quot;Hi, Sean&quot;</span>
</code></pre>
<h3 id="&#x5B9A;&#x4E49;&#xFF08;definitions&#xFF09;">&#x5B9A;&#x4E49;&#xFF08;Definitions&#xFF09;</h3>
<p>&#x628A;&#x6211;&#x4EEC;&#x7684;&#x6A21;&#x677F;&#x5D4C;&#x5165;&#x5230;&#x6A21;&#x5757;&#x91CC;&#x9762;&#xFF0C;&#x7136;&#x540E;&#x7F16;&#x8BD1;&#xFF0C;&#x662F;&#x4F7F;&#x7528; EEx &#x7684;&#x6700;&#x4F73;&#xFF0C;&#x4E5F;&#x662F;&#x6548;&#x7387;&#x6700;&#x9AD8;&#x7684;&#x505A;&#x6CD5;&#x3002;&#x8FD9;&#x79CD;&#x505A;&#x6CD5;&#x9700;&#x8981;&#x5728;&#x7F16;&#x8BD1;&#x671F;&#x51C6;&#x5907;&#x597D;&#x6211;&#x4EEC;&#x7684;&#x6A21;&#x677F;&#xFF0C;&#x8FD8;&#x6709;&#x4F7F;&#x7528; <code>function_from_string/5</code> &#x548C; <code>function_from_file/5</code> &#x4E24;&#x4E2A;&#x5B8F;&#x3002;  </p>
<p>&#x770B;&#x770B;&#x6211;&#x4EEC;&#x5982;&#x4F55;&#x628A;&#x4E0A;&#x9762;&#x7684;&#x795D;&#x798F;&#x8BED;&#x79FB;&#x5230;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x91CC;&#x9762;&#xFF0C;&#x5E76;&#x4ECE;&#x8FD9;&#x4E2A;&#x6A21;&#x677F;&#x751F;&#x6210;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#xFF1A;  </p>
<pre><code class="lang-elixir"><span class="hljs-comment"># greeting.eex</span>
Hi, &lt;%= name %&gt;

<span class="hljs-class"><span class="hljs-keyword">defmodule</span> <span class="hljs-title">Example</span></span> <span class="hljs-keyword">do</span>
  require EEx
  EEx.function_from_file(<span class="hljs-symbol">:def</span>, <span class="hljs-symbol">:greeting</span>, <span class="hljs-string">&quot;greeting.eex&quot;</span>, [<span class="hljs-symbol">:name</span>])
<span class="hljs-keyword">end</span>

iex&gt; Example.greeting(<span class="hljs-string">&quot;Sean&quot;</span>)
<span class="hljs-string">&quot;Hi, Sean&quot;</span>
</code></pre>
<h3 id="&#x7F16;&#x8BD1;&#xFF08;compilation&#xFF09;">&#x7F16;&#x8BD1;&#xFF08;Compilation&#xFF09;</h3>
<p>&#x6700;&#x540E;&#xFF0C;EEx &#x4E3A;&#x6211;&#x4EEC;&#x63D0;&#x4F9B;&#x4E86;&#x4ECE;&#x5B57;&#x7B26;&#x4E32;&#x6216;&#x8005;&#x6587;&#x4EF6;&#x76F4;&#x63A5;&#x751F;&#x6210; Elixir AST &#x7684;&#x65B9;&#x6CD5;&#xFF1A;<code>compile_string/2</code> &#x6216; <code>compile_file/2</code>&#x3002;&#x8FD9;&#x4E24;&#x4E2A; API &#x4E3B;&#x8981;&#x662F;&#x7ED9;&#x524D;&#x9762;&#x63D0;&#x5230;&#x7684; API &#x8C03;&#x7528;&#x7684;&#xFF0C;&#x4F46;&#x4F60;&#x4E5F;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x8FD9;&#x4E24;&#x4E2A; API &#x6253;&#x9020;&#x4F60;&#x81EA;&#x5DF1;&#x7684;&#x5904;&#x7406;&#x5D4C;&#x5165; Elixir &#x7684;&#x65B9;&#x6CD5;&#x3002;  </p>
<h2 id="&#x6807;&#x7B7E;">&#x6807;&#x7B7E;</h2>
<p>&#x5728; EEx &#x91CC;&#x9762;&#xFF0C;&#x6709;&#x56DB;&#x4E2A;&#x9ED8;&#x8BA4;&#x652F;&#x6301;&#x7684;&#x6807;&#x7B7E;&#xFF1A;  </p>
<pre><code class="lang-elixir">&lt;% Elixir &#x8868;&#x8FBE;&#x5F0F; - inline &#x4EE3;&#x7801;&#x6267;&#x884C; %&gt;
&lt;%= Elixir &#x8868;&#x8FBE;&#x5F0F; - &#x66FF;&#x6362;&#x4E3A;&#x7ED3;&#x679C;&#x8FD4;&#x56DE; %&gt;
&lt;%% EEx &#x5F15;&#x7528; - &#x8FD4;&#x56DE;&#x91CC;&#x9762;&#x7684;&#x5185;&#x5BB9; %&gt;
&lt;%<span class="hljs-comment"># &#x6CE8;&#x91CA; - &#x5B83;&#x4EEC;&#x4F1A;&#x4ECE;&#x6E90;&#x7801;&#x4E2D;&#x79FB;&#x9664; %&gt;</span>
</code></pre>
<p>&#x6240;&#x6709;&#x671F;&#x671B;&#x8FD4;&#x56DE;&#x8F93;&#x51FA;&#x7684;&#x8868;&#x8FBE;&#x5F0F;&#xFF0C;&#x90FD;<strong>&#x5FC5;&#x987B;</strong>&#x4F7F;&#x7528;&#x7B49;&#x53F7;&#xFF08;<code>=</code>&#xFF09;&#x3002;&#x8981;&#x7279;&#x522B;&#x6CE8;&#x610F;&#x7684;&#x662F;&#xFF0C;&#x5176;&#x5B83;&#x6A21;&#x677F;&#x8BED;&#x8A00;&#x4F1A;&#x628A;&#x4E00;&#x4E9B;&#x7C7B;&#x4F3C;&#x4E8E; <code>if</code> &#x8FD9;&#x6837;&#x7684;&#x8BED;&#x53E5;&#x7279;&#x6B8A;&#x5904;&#x7406;&#xFF0C;EEx &#x5219;&#x4E0D;&#x4F1A;&#x3002;&#x6CA1;&#x6709; <code>=</code> &#x7684;&#x8BDD;&#xFF0C;&#x4EC0;&#x4E48;&#x90FD;&#x4E0D;&#x4F1A;&#x8FD4;&#x56DE;&#xFF1A;  </p>
<pre><code class="lang-elixir">&lt;%= if <span class="hljs-keyword">true</span> <span class="hljs-keyword">do</span> %&gt;
  A truthful statement
&lt;% else %&gt;
  A <span class="hljs-keyword">false</span> statement
&lt;% <span class="hljs-keyword">end</span> %&gt;
</code></pre>
<h2 id="&#x5F15;&#x64CE;">&#x5F15;&#x64CE;</h2>
<p>Elixir &#x9ED8;&#x8BA4;&#x662F;&#x4F7F;&#x7528; <code>EEx.SmartEngine</code> &#x5F15;&#x64CE;&#xFF0C;&#x5B83;&#x5305;&#x542B;&#x4E86;&#x5BF9;&#x8D4B;&#x503C;&#x7684;&#x652F;&#x6301;&#xFF08;&#x5982; <code>@name</code>&#xFF09;&#xFF1A;  </p>
<pre><code class="lang-elixir">iex&gt; EEx.eval_string <span class="hljs-string">&quot;Hi, &lt;%= @name %&gt;&quot;</span>, <span class="hljs-symbol">assigns:</span> [<span class="hljs-symbol">name:</span> <span class="hljs-string">&quot;Sean&quot;</span>]
<span class="hljs-string">&quot;Hi, Sean&quot;</span>
</code></pre>
<p><code>EEx.SmartEngine</code> &#x7684;&#x8D4B;&#x503C;&#x662F;&#x5F88;&#x6709;&#x7528;&#x7684;&#xFF0C;&#x56E0;&#x4E3A;&#x5B83;&#x7684;&#x503C;&#x53EF;&#x4EE5;&#x968F;&#x65F6;&#x6539;&#x53D8;&#x800C;&#x4E0D;&#x9700;&#x8981;&#x91CD;&#x65B0;&#x7F16;&#x8BD1;&#x6A21;&#x677F;&#x3002;  </p>
<p>&#x60F3;&#x5199;&#x4F60;&#x81EA;&#x5DF1;&#x7684;&#x5F15;&#x64CE;&#xFF1F;&#x53C2;&#x8003; <a href="https://hexdocs.pm/eex/EEx.Engine.html" target="_blank"><code>EEx.Engine</code></a> &#x770B;&#x770B;&#x9700;&#x8981;&#x5B9E;&#x73B0;&#x4EC0;&#x4E48;&#x884C;&#x4E3A;&#x5427;&#x3002;  </p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="plug.html" class="navigation navigation-prev " aria-label="Previous page: Plug">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="ets.html" class="navigation navigation-next " aria-label="Next page: Erlang 项式存储(ETS)">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"version":"1.0.2","title":"嵌入的 Elixir(EEx)","level":"4.2","depth":1,"next":{"title":"Erlang 项式存储(ETS)","level":"4.3","depth":1,"path":"lessons/specifics/ets.md","ref":"lessons/specifics/ets.md","articles":[]},"previous":{"title":"Plug","level":"4.1","depth":1,"path":"lessons/specifics/plug.md","ref":"lessons/specifics/plug.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"lessons/specifics/eex.md","mtime":"2019-11-05T02:25:51.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-11-05T03:01:22.004Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

